Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

style: enable and fix many flake8 issues #6

Merged
merged 6 commits into from
Mar 28, 2024
Merged

Conversation

alexfikl
Copy link
Contributor

@alexfikl alexfikl commented Mar 10, 2024

This includes #5, so needs to go after that. The commits are fairly self-contained, but essentially

  • Apply pyupgrade fixes, mainly to remove the from __future__ import print_function stuff
  • Fix base flake8 issues
  • Fix flake8-quotes issues
  • Fix flake8-isort issues

This should get the code into a reasonable state linting-wise. It would be nice to also enable pylint, but for another PR 😁

@alexfikl alexfikl marked this pull request as ready for review March 25, 2024 17:20
@alexfikl alexfikl marked this pull request as draft March 25, 2024 17:23
@alexfikl alexfikl marked this pull request as ready for review March 25, 2024 18:41
@alexfikl
Copy link
Contributor Author

@xywei This should be ready for a look.

It touches quite a few places, but it should be just style fixes + the flake8 CI passes now! ❤️

@xywei xywei merged commit 860eb4d into xywei:main Mar 28, 2024
1 of 5 checks passed
@xywei
Copy link
Owner

xywei commented Mar 28, 2024

Great, thanks for contributing!

@alexfikl alexfikl deleted the flake8 branch March 28, 2024 05:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants